﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="LeftMenu.ascx.cs" Inherits="WebTeamplate.Admin_usercontrol_LeftMenu" %>

<div class="sidebar-content">
    <a id="close_sidebar" class="btn ui-state-default full-link ui-corner-all" href="#drill">
        <span class="ui-icon ui-icon-circle-arrow-e"></span>Close Sidebar </a><a id="open_sidebar"
            class="btn tooltip ui-state-default full-link icon-only ui-corner-all" title="Open Sidebar"
            href="#"><span class="ui-icon ui-icon-circle-arrow-w"></span></a>
    <div class="hide_sidebar">
        <div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
           <%=menuHTML %>
           
        </div>
    </div>
</div>

<script>
    function ToggeMenu(id) {
        var menu = document.getElementById("mn_" + id);
        if (menu) {
            var classP = '';
            var style = menu.style.display;
            if (style == 'none') {
                style = '';
                classP = 'ui-icon ui-icon-circle-arrow-s ui-icon-circle-arrow-n';
            }
            else {
                style = 'none';
                classP = 'ui-icon ui-icon-circle-arrow-s';
            }
            document.getElementById("mn_" + id).style.display = style;
            document.getElementById("sp_" + id).className = classP;
        }
    }
</script>

